package com.guangyunl.a_array;

public class Demo01Array {
    public static void main(String[] args) {
        // 动态初始化
        int [] arr1 = new int[3];

        String[] arr2 = new String[3];

        // 静态初始化->简化
        int[] arr3 = {1, 2, 3, 4, 5, 6, 7, 8, 9};
        String[] arr4 = {"字符串1", "字符串2", "字符串3", "字符串4"};
    }
}
